package com.dtagri.fjwlw.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * TjAreaMsg entity. @author MyEclipse Persistence Tools
 */

public class TjAreaMsg implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer areaid;
	private String areaName;
	private Integer regionid;
	private String regionname;
	private String address;
	private String product;
	private float square;
	private String pictrue;
	private String coords;
	private String nvrwanip;
	private String nvrusername;
	private String nvrpassword;
	private String appDataPort;
	private List<SmallArea> smallAreas = new ArrayList<SmallArea>();
	private List<TjEquipment> tjEquipments = new ArrayList<TjEquipment>();

	// Constructors


	public String getNvrusername() {
		return nvrusername;
	}

	public String getNvrwanip() {
		return nvrwanip;
	}

	public void setNvrwanip(String nvrwanip) {
		this.nvrwanip = nvrwanip;
	}

	public void setNvrusername(String nvrusername) {
		this.nvrusername = nvrusername;
	}

	public String getNvrpassword() {
		return nvrpassword;
	}

	public void setNvrpassword(String nvrpassword) {
		this.nvrpassword = nvrpassword;
	}

	public String getAppDataPort() {
		return appDataPort;
	}

	public void setAppDataPort(String appDataPort) {
		this.appDataPort = appDataPort;
	}

	public List<SmallArea> getSmallAreas() {
		return smallAreas;
	}

	public void setSmallAreas(List<SmallArea> smallAreas) {
		this.smallAreas = smallAreas;
	}

	public List<TjEquipment> getTjEquipments() {
		return tjEquipments;
	}

	public void setTjEquipments(List<TjEquipment> tjEquipments) {
		this.tjEquipments = tjEquipments;
	}

	/** default constructor */
	public TjAreaMsg() {
	}

	/** full constructor */
	public TjAreaMsg(Integer regionid, String address, String product,
			float square, Integer phnum, String pictrue) {
		this.regionid = regionid;
		this.address = address;
		this.product = product;
		this.square = square;
		this.pictrue = pictrue;

	}

	// Property accessors

	public Integer getAreaid() {
		return this.areaid;
	}

	public void setAreaid(Integer areaid) {
		this.areaid = areaid;
	}

	public Integer getRegionid() {
		return this.regionid;
	}

	public void setRegionid(Integer regionid) {
		this.regionid = regionid;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getProduct() {
		return this.product;
	}

	public void setProduct(String product) {
		this.product = product;
	}

	public float getSquare() {
		return this.square;
	}

	public void setSquare(float square) {
		this.square = square;
	}

	public String getPictrue() {
		return this.pictrue;
	}

	public void setPictrue(String pictrue) {
		this.pictrue = pictrue;
	}

	public String getRegionname() {
		return regionname;
	}

	public void setRegionname(String regionname) {
		this.regionname = regionname;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getCoords() {
		return coords;
	}

	public void setCoords(String coords) {
		this.coords = coords;
	}

	@Override
	public String toString() {
		return "TjAreaMsg [areaid=" + areaid + ", areaName=" + areaName
				+ ", regionid=" + regionid + ", regionname=" + regionname
				+ ", address=" + address + ", product=" + product + ", square="
				+ square + ", pictrue=" + pictrue + ", coords=" + coords
				+ ", smallAreas=" + smallAreas + "]";
	}

}